-
Notifications
You must be signed in to change notification settings - Fork 40
Added x64 function prologue #77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added x64 function prologue #77
Conversation
|
Hi @N0fix, Thanks for the PR! I've investigated the test failure in The failure However, regarding the second prologue you added ( Could you please update your PR with the following changes?
Thanks again for the improvement! |
|
Hey, Thanks for the extensive testing. I assumed that Have a good day |
|
Hey! Now, before adding the prologues, I'd like to benchmark this in a wider scenario, for which I'm going to use the ground truth created in my PhD thesis (probably using the patched ByteWeight and the annotated Malpedia excerpt, which however has only a few 64bit binaries). |
|
Alright, I took a detour looking at your provided executable and noticed that the OEP function was also not detected at all. I only benchmarked it for now against a set of Windows executables and didn't notice any performance degradation (but an ever so slight improvement in precision for the benign x64). Thanks for the contribution! |
Noticed this too. Didn't want to polute this PR with the exit syscall thing so I figured out I would check this out later, but it is great if you dealt with this issue already. Thanks ! |
Adding x64 function prologues:
I found the first one
55 48 89 E5in a CTF executable.See the executable attached. SMDA is missing the entry point, figured with some debug that it was not finding the prologue. It also avoid the function at EP because it ends with a syscall(exit), and tries to continue disassembling after that. But for now, adding the prologue will do.
I assumed the second opcode
55 48 89 EC) should exist too.